package hibernate;

import java.util.HashSet;
import java.util.Set;

/**
 * Parkstab entity. @author MyEclipse Persistence Tools
 */

public class Parkstab implements java.io.Serializable {

	// Fields

	private Integer uuid;
	private String name;
	private String telNumber;
	private Integer totalSpace;
	private Integer emptySpace;
	private String description;
	private String address;
	private Double longitude;
	private Double latitude;
	private Double price;
	private Integer maxOrderTime;
	private Set orderstabs = new HashSet(0);
	private Set adminstabs = new HashSet(0);

	// Constructors

	/** default constructor */
	public Parkstab() {
	}

	/** minimal constructor */
	public Parkstab(String name, Integer totalSpace, Integer emptySpace,
			String address, Double longitude, Double latitude, Double price) {
		this.name = name;
		this.totalSpace = totalSpace;
		this.emptySpace = emptySpace;
		this.address = address;
		this.longitude = longitude;
		this.latitude = latitude;
		this.price = price;
	}

	/** full constructor */
	public Parkstab(String name, String telNumber, Integer totalSpace,
			Integer emptySpace, String description, String address,
			Double longitude, Double latitude, Double price,
			Integer maxOrderTime, Set orderstabs, Set adminstabs) {
		this.name = name;
		this.telNumber = telNumber;
		this.totalSpace = totalSpace;
		this.emptySpace = emptySpace;
		this.description = description;
		this.address = address;
		this.longitude = longitude;
		this.latitude = latitude;
		this.price = price;
		this.maxOrderTime = maxOrderTime;
		this.orderstabs = orderstabs;
		this.adminstabs = adminstabs;
	}

	// Property accessors

	public Integer getUuid() {
		return this.uuid;
	}

	public void setUuid(Integer uuid) {
		this.uuid = uuid;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTelNumber() {
		return this.telNumber;
	}

	public void setTelNumber(String telNumber) {
		this.telNumber = telNumber;
	}

	public Integer getTotalSpace() {
		return this.totalSpace;
	}

	public void setTotalSpace(Integer totalSpace) {
		this.totalSpace = totalSpace;
	}

	public Integer getEmptySpace() {
		return this.emptySpace;
	}

	public void setEmptySpace(Integer emptySpace) {
		this.emptySpace = emptySpace;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Double getLongitude() {
		return this.longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Double getLatitude() {
		return this.latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getMaxOrderTime() {
		return this.maxOrderTime;
	}

	public void setMaxOrderTime(Integer maxOrderTime) {
		this.maxOrderTime = maxOrderTime;
	}

	public Set getOrderstabs() {
		return this.orderstabs;
	}

	public void setOrderstabs(Set orderstabs) {
		this.orderstabs = orderstabs;
	}

	public Set getAdminstabs() {
		return this.adminstabs;
	}

	public void setAdminstabs(Set adminstabs) {
		this.adminstabs = adminstabs;
	}

}